<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    <%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="\resource\js\jquery-3.2.1\jquery.js"></script>
<link rel="stylesheet" href="/resource/css/index_work.css"/>
</head>
<body>
	<table>
		<tr>
			<th>编号</th>
			<th>出版社</th>
			<th>作者</th>
			<th>作品</th>
			<th>出版日期</th>
			<th>价格</th>
			<th>类型</th>
		</tr>
		<c:forEach items="${list }" var="a">
			<tr>
			<td>${a.tsbh }</td>
			<td>${a.cbs }</td>
			<td>${a.zz }</td>
			<td>${a.sm }</td>
			<td>
			
			<fmt:formatDate value="${a.cbrq}" pattern="yyyy-MM-dd"/></td>
			<td>${a.jg }</td>
			<td>${a.lx }</td>
			</tr>
		</c:forEach>
	</table>
</body>
</html>